package com.jae.service;

import com.jae.model.resc.Resc;
import com.jae.model.resc.RescDTO;
import com.jae.model.user.User;

import java.util.List;
import java.util.Map;

public interface RescService {

    List<Resc> findAll();

    RescDTO findOne(Map map);

    RescDTO findById(Long resc_id);

    boolean insert(Resc resc, User user);

    boolean update(Resc resc, User user);

    boolean updateDelete(Long resc_id, User user);

    boolean delete(Long resc_id);


}